<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" name="viewport" content="width=device-width, initial-scale=1">
    <title>jQuery Mobile Web 应用程序</title>

    <!-- css -->
    <link href="css/jquery.mobile-1.4.0.min.css" rel="stylesheet" type="text/css"/>
    <link href="css/my.css" rel="stylesheet" type="text/css"/>
    <link href="css/myScroll.css" rel="stylesheet" type="text/css" media="all"/>

    <!-- js -->
    <script src="js/jquery-1.10.2.min.js" type="text/javascript"></script>
    <script src="js/jquery.mobile-1.4.0.min.js" type="text/javascript"></script>
    <script src="js/iscroll.js" type="text/javascript"></script>
    <script src="js/aqyh.js" type="text/javascript"></script>

    <script type="text/javascript">
        initAqyh();
        /* document.addEventListener('touchmove', function (e) {
         e.preventDefault();
         }, false);*/
    </script>
</head>
<body>
<!-- 安全隐患 第一个页面 -->
<div data-role="page" id="aqyh1">
    <div data-role="header" data-theme="b">
        <a href="index2.html" data-role="button" class="ui-btn-left" data-icon="arrow-l" data-ajax="false"
           data-iconpos="notext"></a>

        <h1 style="font-size: large;">安全隐患</h1>

        <div data-role="navbar">
            <ul>
                <li><a href="#aqyh1" onclick="getYhBaseInfo()" class="ui-btn-active ui-state-persist">隐患</a></li>
                <li><a href="#aqyh2" onclick="getSwBaseInfo()">三违</a></li>
                <li><a href="#aqyh3" onclick="getRjBaseInfo()">入井记录</a></li>
            </ul>
        </div>
    </div>

    <div data-role="content">
        <ul data-role="listview" id="listview1">
        </ul>
    </div>
</div>

<!-- 安全隐患 第二个页面 -->
<div data-role="page" id="aqyh2" data-add-back-btn="true">
    <div data-role="header" data-theme="b">
        <a href="index2.html" data-role="button" class="ui-btn-left" data-icon="arrow-l" data-ajax="false"
           data-iconpos="notext"></a>

        <h1 style="font-size: large;">安全隐患</h1>

        <div data-role="navbar">
            <ul>
                <li><a href="#aqyh1" onclick="getYhBaseInfo()">隐患</a></li>
                <li><a href="#aqyh2" onclick="getSwBaseInfo()" class="ui-btn-active ui-state-persist">三违</a>
                </li>
                <li><a href="#aqyh3" onclick="getRjBaseInfo()">入井记录</a></li>
            </ul>
        </div>
    </div>

    <div data-role="content">

        <ul data-role="listview" id="listview2">
        </ul>
    </div>
</div>

<!-- 安全隐患 第三个页面 -->
<div data-role="page" id="aqyh3">
    <div data-role="header" data-theme="b">
        <a href="index2.html" data-role="button" class="ui-btn-left" data-icon="arrow-l" data-ajax="false"
           data-iconpos="notext"></a>

        <h1 style="font-size: large;">安全隐患</h1>

        <div data-role="navbar">
            <ul>
                <li><a href="#aqyh1" onclick="getYhBaseInfo()">隐患</a></li>
                <li><a href="#aqyh2" onclick="getSwBaseInfo()">三违</a></li>
                <li><a href="#aqyh3" onclick="getRjBaseInfo()" class="ui-btn-active ui-state-persist">入井记录</a></li>
            </ul>
        </div>
    </div>

    <div data-role="content">

        <ul data-role="listview" id="listview3">
        </ul>
    </div>
</div>

<!-- 隐患 -->
<div data-role="page" id="yh" data-add-back-btn="true">
    <div data-role="header" data-theme="b" style="height: 3.5em">
        <a href="#" data-rel="back" data-role="button" class="ui-btn-left" data-icon="arrow-l"
           data-iconpos="notext"></a>

        <h1 style="font-size: large">隐患</h1>
    </div>

    <div data-role="content">
        <div id="yhWrapper" class="wrapper">
            <div id="yhScroller" class="scroller">
                <div id="yhPullDown" class="pullDown">
                    <span class="pullDownIcon"></span><span class="pullDownLabel">下拉刷新...</span>
                </div>

                <ul data-role="listview" id="yhListview">
                </ul>

                <div id="yhPullUp" class="pullUp">
                    <span class="pullUpIcon"></span><span class="pullUpLabel">上拉加载更多...</span>
                </div>
            </div>
        </div>
    </div>
</div>

<!-- 三违 -->
<div data-role="page" id="sw" data-add-back-btn="true">
    <div data-role="header" data-theme="b" style="height: 3.5em">
        <a href="#" data-rel="back" data-role="button" class="ui-btn-left" data-icon="arrow-l"
           data-iconpos="notext"></a>

        <h1 style="font-size: large">三违</h1>
    </div>

    <div data-role="content">
        <div id="swWrapper">
            <div id="swScroller">
                <div id="swPullDown">
                    <span class="pullDownIcon"></span><span class="pullDownLabel">下拉刷新...</span>
                </div>

                <ul data-role="listview" id="swListview">
                </ul>

                <div id="swPullUp">
                    <span class="pullUpIcon"></span><span class="pullUpLabel">上拉加载更多...</span>
                </div>
            </div>
        </div>
    </div>
</div>

<!-- 入井记录 -->
<div data-role="page" id="rj" data-add-back-btn="true">
    <div data-role="header" data-theme="b" style="height: 3.5em">
        <a href="#" data-rel="back" data-role="button" class="ui-btn-left" data-icon="arrow-l"
           data-iconpos="notext"></a>

        <h1 style="font-size: large">入井记录</h1>
    </div>

    <div data-role="content">
        <div id="rjWrapper">
            <div id="rjScroller">
                <div id="rjPullDown">
                    <span class="pullDownIcon"></span><span class="pullDownLabel">下拉刷新...</span>
                </div>

                <ul data-role="listview" id="rjListview">
                </ul>

                <div id="rjPullUp">
                    <span class="pullUpIcon"></span><span class="pullUpLabel">上拉加载更多...</span>
                </div>
            </div>
        </div>
    </div>
</div>

<!-- 隐患详细信息 -->
<div data-role="page" id="yhDetail" data-add-back-btn="true">
    <div data-role="header" data-theme="b" style="height: 3.5em">
        <a href="#" data-rel="back" data-role="button" class="ui-btn-left" data-icon="arrow-l"
           data-iconpos="notext"></a>

        <h1 style="font-size: large">隐患详细信息</h1>
    </div>

    <div data-role="content">
        <table id="yhDetailTable" style="width: 100%">
            <tr>
                <td width="100">
                隐患编号
                </td>
                <td style="text-align: right">
                    <span id="yhputinid"></span>
                </td>
            </tr>
            <tr>
                <td>
                    专业
                </td>
                <td style="text-align: right">
                    <span id="typename"></span>
                </td>
            </tr>
            <tr>
                <td>
                    级别
                </td>
                <td style="text-align: right">
                    <span id="levelname"></span>
                </td>
            </tr>
            <tr>
                <td>
                    排查班次
                </td>
                <td style="text-align: right">
                    <span id="banci"></span>
                </td>
            </tr>
            <tr>
                <td>
                    排查时间
                </td>
                <td style="text-align: right">
                    <span id="intime"></span>
                </td>
            </tr>
            <tr>
                <td>
                    状态
                </td>
                <td style="text-align: right">
                    <span id="status"></span>
                </td>
            </tr>
            <tr>
                <td>
                    检查类型
                </td>
                <td style="text-align: right">
                    <span id="jctypeDesc"></span>
                </td>
            </tr>
            <tr>
                <td>
                    隐患描述
                </td>
                <td style="text-align: right">
                    <span id="remarks"></span>
                </td>
            </tr>
            <tr>
                <td>
                    整改期限日期
                </td>
                <td style="text-align: right">
                    <span id="xqdate"></span>
                </td>
            </tr>
            <tr>
                <td>
                    整改期限班次
                </td>
                <td style="text-align: right">
                    <span id="xqbanci"></span>
                </td>
            </tr>
            <tr>
                <td>
                    单位
                </td>
                <td style="text-align: right">
                    <span id="maindeptname"></span>
                </td>
            </tr>
            <tr>
                <td>
                    责任单位
                </td>
                <td style="text-align: right">
                    <span id="zrdeptname"></span>
                </td>
            </tr>
            <tr>
                <td>
                    责任人
                </td>
                <td style="text-align: right">
                    <span id="zrpername"></span>
                </td>
            </tr>
            <tr>
                <td>
                    地点
                </td>
                <td style="text-align: right">
                    <span id="placename"></span>
                </td>
            </tr>
        </table>
    </div>
</div>

<!-- 三违详细信息 -->
<div data-role="page" id="swDetail" data-add-back-btn="true">
    <div data-role="header" data-theme="b" style="height: 3.5em">
        <a href="#" data-rel="back" data-role="button" class="ui-btn-left" data-icon="arrow-l"
           data-iconpos="notext"></a>

        <h1 style="font-size: large">三违详细信息</h1>
    </div>

    <div data-role="content" style="overflow: auto">
        <table id="swDetailTable" style="width: 100%;">
            <tr>
                <td width="80">
                三违编号
                </td>
                <td style="text-align: right">
                    <span id="swinputid"></span>
                </td>
            </tr>
            <tr>
                <td>
                    类型
                </td>
                <td style="text-align: right">
                    <span id="swtypename"></span>
                </td>
            </tr>
            <tr>
                <td>
                    专业
                </td>
                <td style="text-align: right">
                    <span id="zyname"></span>
                </td>
            </tr>
            <tr>
                <td>
                    级别
                </td>
                <td style="text-align: right">
                    <span id="swlevelname"></span>
                </td>
            </tr>
            <tr>
                <td>
                    排查班次
                </td>
                <td style="text-align: right">
                    <span id="swbanci"></span>
                </td>
            </tr>
            <tr>
                <td>
                    排查时间
                </td>
                <td style="text-align: right">
                    <span id="swpctime"></span>
                </td>
            </tr>
            <tr>
                <td>
                    排查人
                </td>
                <td style="text-align: right">
                    <span id="pcpname"></span>
                </td>
            </tr>
            <tr>
                <td>
                    排查人姓名集合
                </td>
                <td style="text-align: right">
                    <span id="pcpnameNow"></span>
                </td>
            </tr>
            <tr>
                <td>
                    状态
                </td>
                <td style="text-align: right">
                    <span id="swstatus"></span>
                </td>
            </tr>
            <tr>
                <td>
                    检查类型
                </td>
                <td style="text-align: right">
                    <span id="swjctypeDesc"></span>
                </td>
            </tr>
            <tr>
                <td>
                    是否进班
                </td>
                <td style="text-align: right">
                    <span id="islearn"></span>
                </td>
            </tr>
            <tr>
                <td>
                    描述
                </td>
                <td style="text-align: right">
                    <span id="swremarks"></span>
                </td>
            </tr>
            <tr>
                <td>
                    单位
                </td>
                <td style="text-align: right">
                    <span id="swmaindeptname"></span>
                </td>
            </tr>
            <tr>
                <td>
                    责任科区
                </td>
                <td style="text-align: right">
                    <span id="zrkqname"></span>
                </td>
            </tr>
            <tr>
                <td>
                    三违人员
                </td>
                <td style="text-align: right">
                    <span id="swpname"></span>
                </td>
            </tr>
            <tr>
                <td>
                    地点
                </td>
                <td style="text-align: right">
                    <span id="swplacename"></span>
                </td>
            </tr>
            <tr>
                <td>
                    三违依据
                </td>
                <td style="text-align: right">
                    <span id="swcontent"></span>
                </td>
            </tr>
            <tr>
                <td>
                    是否罚款
                </td>
                <td style="text-align: right">
                    <span id="isfine"></span>
                </td>
            </tr>
        </table>
    </div>
</div>

<!-- 入井详细信息 -->
<div data-role="page" id="rjDetail" data-add-back-btn="true">
    <div data-role="header" data-theme="b" style="height: 3.5em">
        <a href="#" data-rel="back" data-role="button" class="ui-btn-left" data-icon="arrow-l"
           data-iconpos="notext"></a>

        <h1 style="font-size: large">入井详细信息</h1>
    </div>

    <div data-role="content">
        <table id="rjDetailTable" style="width: 100%">
            <tr>
                <td>
                    序号
                </td>
                <td style="text-align: right">
                    <span id="rjid"></span>
                </td>
            </tr>
            <tr>
                <td>
                    考勤人员id
                </td>
                <td style="text-align: right">
                    <span id="kqpnumber"></span>
                </td>
            </tr>
            <tr>
                <td>
                    考勤人员姓名
                </td>
                <td style="text-align: right">
                    <span id="kqpname"></span>
                </td>
            </tr>
            <tr>
                <td>
                    类型
                </td>
                <td style="text-align: right">
                    <span id="kqtypeDesc"></span>
                </td>
            </tr>
            <tr>
                <td>
                    数据来源
                </td>
                <td style="text-align: right">
                    <span id="datafromDesc"></span>
                </td>
            </tr>
            <tr>
                <td>
                    归属日期
                </td>
                <td style="text-align: right">
                    <span id="kqtime"></span>
                </td>
            </tr>
            <tr>
                <td>
                    归属单位
                </td>
                <td style="text-align: right">
                    <span id="kqdept"></span>
                </td>
            </tr>
            <tr>
                <td>
                    归属班次
                </td>
                <td style="text-align: right">
                    <span id="kqbenci"></span>
                </td>
            </tr>
            <tr>
                <td>
                    入井时间
                </td>
                <td style="text-align: right">
                    <span id="downtime"></span>
                </td>
            </tr>
            <tr>
                <td>
                    升井时间
                </td>
                <td style="text-align: right">
                    <span id="uptime"></span>
                </td>
            </tr>
            <tr>
                <td>
                    工作时间
                </td>
                <td style="text-align: right">
                    <span id="worktime"></span>
                </td>
            </tr>
        </table>
    </div>
</div>
</body>
</html>